package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.response.DynamicAndTopicResponse;
import com.ytjj.qmyx.admin.model.response.DynamicResponse;
import com.ytjj.qmyx.admin.model.response.DynamicTopicResponse;
import com.ytjj.qmyx.mall.model.DynamicAndTopic;
import com.ytjj.qmyx.mall.model.DynamicTopic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * 
 * @description:
 */
public interface DynamicAndTopicDao {

    DynamicAndTopicResponse getRelationsByDynamicId(@Param("dynamicId") Integer dynamicId);

    List<DynamicTopicResponse> getByDynamicId(@Param("dynamicId") Integer dynamicId);

    List<DynamicAndTopicResponse> getRelations(@Param("dynamicTopic") List<DynamicTopic> dynamicTopics);

    List<DynamicAndTopicResponse> getRelationsByDynamics(@Param("dynamicResponses") List<DynamicResponse> dynamicResponses);
}
